<%-- 
    Document   : editar
    Created on : 13/11/2009, 08:35:01 PM
    Author     : ADMINISTRADOR
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="r" uri="http://richfaces.ajax4jsf.org/rich" %>

<script language="javascript" src="../js/funciones.js"></script>
<link href="/colegiatura/Estilos/estilosEsymons.css" rel="stylesheet" type="text/css" />

<f:view>
<h:form>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="25" class="texto3" align="left">
                <h:outputLabel value=" Colegiado en Comité Local" />  </td>
          </tr>
          <tr><td height="25"></td></tr>
          <tr>
            <td>
            <fieldset>
                <legend>Datos Colegiado</legend>
                <table width="100%" border="0">
                <tr>
            <td width="99" height="25">&nbsp;</td>
            <td width="170"><h:outputLabel value="Nro CIP :" styleClass="texto22" /></td>
            <td colspan="3"><h:outputLabel value="#{colegiadoComiteLocalController.colegiadoComite.colCodigo.colnumeroCip}"  styleClass="texto22"  /></td>
            <td width="168">&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td><h:outputLabel value="Colegiado :" styleClass="texto22" /></td>
            <td colspan="3"><h:outputLabel value="#{colegiadoComiteLocalController.colegiadoComite.colCodigo.personaNatural.nombreCompleto}"  styleClass="texto22"  /></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td><h:outputLabel value="Comité Local :" styleClass="texto22" /></td>
            <td colspan="3">
                <h:selectOneMenu value="#{colegiadoComiteLocalController.colegiadoComite.cloCodigo}" styleClass="fondo012" onchange="submit();">
                <f:selectItem itemLabel="------Seleccionar------" />
                <f:selectItems value="#{comiteController.selectListaItemComite}" />
            </h:selectOneMenu></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td><h:outputLabel  value="Fecha Aporte :" styleClass="texto22" /></td>
            <td width="230"><r:calendar value="#{colegiadoComiteLocalController.colegiadoComite.ccofechaAporte}"
                        datePattern="dd/MM/yyyy" cellWidth="15" styleClass="cajaCentrada" inputClass="cajaCentrada" />
                <%--t:inputCalendar value="#{colegiadoComiteLocalController.colegiadoComite.ccofechaAporte}" renderPopupButtonAsImage="true" renderAsPopup="true"
                 popupDateFormat="dd/MM/yyyy"  popupTodayString="Hoy día es:"  styleClass="fondo012"  /--%></td>
            <td width="200" >&nbsp;</td>
            <td width="128" >&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td><h:outputLabel value="Fecha Incorporación :" styleClass="texto22" /></td>
            <td><r:calendar value="#{colegiadoComiteLocalController.colegiadoComite.ccofechaIncorporacion}"
                        datePattern="dd/MM/yyyy" cellWidth="15" styleClass="cajaCentrada" inputClass="cajaCentrada" />
                <%--t:inputCalendar value="#{colegiadoComiteLocalController.colegiadoComite.ccofechaIncorporacion}" renderPopupButtonAsImage="true" renderAsPopup="true"
                 popupDateFormat="dd/MM/yyyy"  popupTodayString="Hoy día es:"  styleClass="fondo012"  /--%></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td><h:outputLabel value="Estado :" styleClass="texto22" /></td>
            <td><h:outputLabel value="Activo" styleClass="texto20"/>
             <h:selectBooleanCheckbox value="#{colegiadoComiteLocalController.colegiadoComite.ccoEstado}" /></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="25" colspan="6">&nbsp;</td>
          </tr>
          <tr>
            <td height="25">&nbsp;</td>
            <td>&nbsp;</td>
            <td colspan="2" align="center"><h:commandButton  action="#{colegiadoComiteLocalController.editarColegiadocomite}" value="Guardar" styleClass="enlace9" />
			<h:outputLabel value="  " />
			<h:commandButton action="#{colegiadoComiteLocalController.retornar}" value="Cancelar" styleClass="enlace9" /></td>
            <td align="center"></td>
            <td>&nbsp;</td>
          </tr>
            </table>
            </fieldset>
            </td>
          </tr>          
    </table>
</h:form>
</f:view>
